local networks = {{
    name = "grauna",
    ip = "210.26.30.34"
}, {
    name = "arraial",
    ip = "210.26.30.23"
}, {
    name = "lua",
    ip = "210.26.23.12"
}, {
    name = "derain",
    ip = "210.26.23.20"
}};

table.sort(networks, function(a, b)
    return a.name < b.name
end);

for key, value in ipairs(networks) do
    print(key, value.name, value.ip);
end
